package com.hins.component.hlock;

import com.hins.component.hlock.config.HlockConfig;
import com.hins.component.hlock.core.BusinessKeyProvider;
import com.hins.component.hlock.core.HlockAspectHandler;
import com.hins.component.hlock.core.LockInfoProvider;
import com.hins.component.hlock.lock.LockFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author Leslie
 * @date 2021/9/8 9:32
 */
//@Configuration
//@Import({HlockAspectHandler.class})
public class HlockConfiguration {

//    @Bean
//    public LockInfoProvider lockInfoProvider() {
//        return new LockInfoProvider();
//    }
//
//    @Bean
//    public BusinessKeyProvider businessKeyProvider() {
//        return new BusinessKeyProvider();
//    }
//
//    @Bean
//    public LockFactory lockFactory() {
//        return new LockFactory();
//    }
//
//    @Bean
//    public HlockConfig hlockConfig() {
//        return new HlockConfig();
//    }
}
